<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: LQ
  Date: 2021/5/7
  Time: 18:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录博客</title>
    <link type="text/css" rel="stylesheet" href="/css/login.css">
</head>
<body>
<div class="background"></div>
<div class="loginArea">

    <img class="loginImg" src="/img/login_title.png">
    <div class="loginInput">
        <form action="/login" method="post">
            <input class="loginInputForm" type="text" name="username" value="${requestScope.username}" placeholder="请输入账号"><br>
            <input class="loginInputForm" type="password" name="password" value="${requestScope.password}" placeholder="请输入密码"><br>
            <input class="loginRemember" type="checkbox" name="remember" ${requestScope.checked}/>
            <h6 class="loginRememberText">记住我</h6>
            <button class="loginInputButton" type="submit">登录</button>
        </form>
        <a href="/register">
            <button class="loginInputButton" style="margin-top: 35px">注册</button>
        </a>
    </div>
</div>
</body>
</html>
